package com.ruoyi.teaching.service;

import java.util.List;
import com.ruoyi.teaching.domain.TeachingProfessional;

/**
 * 专业信息Service接口
 * 
 * @author ruoyi
 * @date 2022-03-21
 */
public interface ITeachingProfessionalService 
{
    /**
     * 查询专业信息
     * 
     * @param professionalId 专业信息主键
     * @return 专业信息
     */
    public TeachingProfessional selectTeachingProfessionalByProfessionalId(Long professionalId);

    /**
     * 查询专业信息列表
     * 
     * @param teachingProfessional 专业信息
     * @return 专业信息集合
     */
    public List<TeachingProfessional> selectTeachingProfessionalList(TeachingProfessional teachingProfessional);

    /**
     * 新增专业信息
     * 
     * @param teachingProfessional 专业信息
     * @return 结果
     */
    public int insertTeachingProfessional(TeachingProfessional teachingProfessional);

    /**
     * 修改专业信息
     * 
     * @param teachingProfessional 专业信息
     * @return 结果
     */
    public int updateTeachingProfessional(TeachingProfessional teachingProfessional);

    /**
     * 批量删除专业信息
     * 
     * @param professionalIds 需要删除的专业信息主键集合
     * @return 结果
     */
    public int deleteTeachingProfessionalByProfessionalIds(Long[] professionalIds);

    /**
     * 删除专业信息信息
     * 
     * @param professionalId 专业信息主键
     * @return 结果
     */
    public int deleteTeachingProfessionalByProfessionalId(Long professionalId);
}
